package com.qf.mybatis.pojo;


import java.sql.Date;

public class TbPassenger {

  private long id;
  private String name;
  private String sex;
  private Date birth;

  private TbPassports tbPassports;

  public TbPassports getTbPassports() {
    return tbPassports;
  }

  public void setTbPassports(TbPassports tbPassports) {
    this.tbPassports = tbPassports;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public String getSex() {
    return sex;
  }

  public void setSex(String sex) {
    this.sex = sex;
  }


  public java.sql.Date getBirth() {
    return birth;
  }

  public void setBirth(java.sql.Date birth) {
    this.birth = birth;
  }

  @Override
  public String toString() {
    return "TbPassenger{" +
            "id=" + id +
            ", name='" + name + '\'' +
            ", sex='" + sex + '\'' +
            ", birth=" + birth +
            ", tbPassports=" + tbPassports +
            '}';
  }
}
